package com.anche.cywebnew.Service.systemManager;

import com.anche.cywebnew.Pojo.systemManager.SysRole;
import com.github.pagehelper.Page;

import java.util.List;

public interface RoleService {
    Page<SysRole> getRolePager(Integer page, Integer limit);

    void setRoleStatus(String id, String status) throws Exception;

    void setRole(SysRole sysRole);

    void delRole(String id);

    void addRole(SysRole sysRole);

    List<SysRole> getRoleList();
}
